-- GENERATED SPELL FOR [Tunnel Rat Scout] --


function spell0_1173(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1173', 578, 1)
end

function Sorts_1173(pUnit, Event)
local choix_sorts_1173 = math.random(0, 0)
if choix_sorts_1173 == 0 then
pUnit:RegisterEvent('spell0_1173', 1, 1)
end
end

function mob1173_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1173', math.random(1500, 3000), 1)
end

function mob1173_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1173_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1173_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1173, 1, 'mob1173_Action')
RegisterUnitEvent(1173, 2, 'mob1173_Leave')
RegisterUnitEvent(1173, 3, 'mob1173_Kill')
RegisterUnitEvent(1173, 4, 'mob1173_Die')
